package cn.com.gf.cmp.am.message;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonPropertyOrder({"Route","Request","Data"})
public class RequestMessage extends Message{
	
	@JsonProperty("Request")
	private Request request;
	
	public RequestMessage(int functionNo, String time) {
		super();
		this.request = new Request(functionNo,time);
	}

	public Request getRequest() {
		return request;
	}

	public void setRequest(Request request) {
		this.request = request;
	}
	
	
}
